let calculateSum = (arr) => arr.reduce((a, b) => a + b.value, 0);
console.log(calculateSum([{value: 1}, {value: 2}, {value: 3}])); 